import {Injectable} from '@angular/core';

@Injectable({
  providedIn: 'root'
})
export class UrlService {
  private host = 'gateway';
  private hostWeb = 'gateway/web';

  constructor() {
  }

  getUrl(url: string) {
    return this.host + url;
  }
  getWebUrl(url: string) {
    return this.hostWeb + url;
  }
}
